package com._520it.crm.mapper;

import com._520it.crm.domain.AuditInfo;
import com._520it.crm.query.AuditInfoQueryObject;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.Date;
import java.util.List;
@Repository
public interface AuditInfoMapper {



    int updateByPrimaryKey(AuditInfo record);



    Integer queryForCount(AuditInfoQueryObject qo);

    List<AuditInfo> queryForList(AuditInfoQueryObject qo);

    //保存审核表的提交
    void insertAuditId(Long id);
    //删除和待审核的关系
    void deleteAuditInsuranceRelation(Long id);




    //根据ID获取对应的批单号
    String queryBatchNumber(Long id);


    //超级管理员自动录入的信息
    void updateAdminMsg(@Param("batchNumber") String batchNumber, @Param("auditInsuranceId") Long auditInsuranceId);


    //获取对应审核保单的ID
    Long selectAuditId(Long id);



}